package com.example.xpvideo.service;

import com.example.xpvideo.entity.PageResult;
import com.example.xpvideo.entity.PageResult1;
import com.example.xpvideo.entity.ResponseResult;
import com.example.xpvideo.entity.req.SupplierMerchantReq;
import com.example.xpvideo.entity.req.TopLiveReq;
import com.example.xpvideo.entity.req.UpdateReq;
import com.example.xpvideo.entity.res.PHPMerchantsDetailRes;
import com.example.xpvideo.entity.res.PhpMerchantsRes;
import com.example.xpvideo.exception.ErrorException;

import java.util.List;

/**
 * @author : 洪俊新
 * @date : 2021/8/20 11:28
 * @description:
 */
public interface PhpMerchantsService {
    ResponseResult<PageResult1<List<PhpMerchantsRes>>> list(SupplierMerchantReq supplierMerchantReq) throws ErrorException;
    ResponseResult<PHPMerchantsDetailRes> detail(Integer id) throws ErrorException;
    ResponseResult<Object> isOffcial(UpdateReq updateReq) throws ErrorException;
    ResponseResult<Object> recommendLive(UpdateReq updateReq) throws ErrorException;
    ResponseResult<Object> topLive(TopLiveReq topLiveReq) throws ErrorException;
    ResponseResult<Object> updateMStage(UpdateReq updateReq) throws ErrorException;
}
